import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'payment.settings')

application = get_wsgi_application()

# payment/wsgi.py 标准配置模板
# import os
# import sys
# from django.core.wsgi import get_wsgi_application
#
# # 添加项目根目录到系统路径（Windows需注意反斜杠）
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# sys.path.append(BASE_DIR)
#
# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'payment.settings')
# application = get_wsgi_application()
